package com.smart.mapper;

import com.smart.domain.User;

import java.util.List;

public interface UserMapper {

    void save(User user);

    void update(User user);

    List<User> queryUserByUserName(String userName);

    List<User> loadAll();

    User get(int userId);

    User getUserByUserName(String userName);

}
